package com.cpj.base.code;

/**
 * 错误代码
 * 
 * @author gao.huawei
 * 
 */
public class ErrorCode {
	// 成功
	public static final String SUCCESS = "0000";
	// 各种错误
	public static final String ERROR = "1111";
	//客户端重试
	public static final String RETRY = "1112";
	
	
	// =================用户模块错误代码===============================================================
	// 用户未登录
	public static final String UN_LOGIN = "0001";
	// 查询报错
	public static final String SELECT_ERROR = "0002";
	// 用户已经注册
	public static final String IS_REGISTER = "1001";
	// 手机号为空
	public static final String PHONE_IS_NULL = "1002";
	// 密码为空
	public static final String PASSWORD_IS_NULL = "1003";
	// 手机格式不正确
	public static final String PHONE_FORMAT_ERROR = "1004";
	// 用户不存在
	public static final String USER_ISNULL = "1005";
	// 密码不正确
	public static final String PASSWORD_IS_ERROR = "1006";
	// 注册失败
	public static final String REGISTER_FAIL = "1007";
	// 登录失败
	public static final String LOGIN_FAIL = "1008";
	// 账户冻结
	public static final String ACCOUNT_SUSPENDED = "1009";
	// 验证码发送失败
	public static final String SEND_RANDOMCODE_ERROR = "1010";
	// 请输入短信验证码
	public static final String RANDOMCODE_ISNULL = "1011";
	// 输入的手机号不是登录手机号
	public static final String PHONE_ISNOT_LOGIN_PHONE = "1013";
	// 手机号验证失败
	public static final String PHONE_VALIDATA_ERROR = "1014";
	// 手机号更新失败
	public static final String PHONE_UPDATA_ERROR = "1015";
	// 密码不一致
	public static final String PASSWORDS_DIFFER = "1016";
	// 找回密码失败
	public static final String FIND_PASSWORD_ERROR = "1017";
	// 用户被删除
	public static final String USER_IS_DELETED = "1018";
	// 用户被冻结
	public static final String USER_IS_LOCKED = "1019";
	// 未注册
	public static final String IS_NOT_REGISTER = "1020";
	// 新旧手机号相同
	public static final String PHONE_IS_SAME = "1021";
	// 手机号与邀请码一致
	public static final String SHARECODE_IS_SAME = "1022";
	//
	public static final String SHARECODE_IS_NOT_NULL = "1023";
	//用户类型不正确
	public static final String USER_TYPE_ERROR = "1024";
	// 验证码发送过于频繁
	public static final String SEND_TOO_MUCH_ERROR = "1025";
	// 验证码人机验证
	public static final String SEND_ROBOT_CHECK = "1026";
	// 人机验证失败
	public static final String CCODE_ERROR = "1027";
	
	public static final String HAS_BIND = "1028";

	// =================通用错误代码==================================================================
	// 手机验证码不正确
	public static final String RANDOMCODE_ERROR = "9001";
	// 验证码已过期
	public static final String RANDOMCODE_TIMEOUT = "9002";
	// 没有登录
	public static final String REQUIRED_LOGIN = "9003";
	// 参数不正确
	public static final String PARAM_ERROR = "9004";
	// 没有权限
	public static final String PERMISSION_DENIED = "9005";
	// 未实名认证
	public static final String NO_APPROVE = "9006";
	// 未设置支付密码
	public static final String NO_PAY_PASSWORD = "9007";
	// 未实名认证
	public static final String NO_BANK_BINDING = "9008";
	// 插入数据失败
	public static final String INSERT_ERROR = "9010";
	// 更新数据失败
	public static final String UPDATE_ERROR = "9011";
	// 返回数据失败
	public static final String REQUEST_ERROR = "9012";
	// 系统运行
	public static final String SYS_NOT_ERROR = "9013";
	// 不需要支付验证码
	public static final String PAY_NO_CODE = "9014";
	// 需要支付验证码
	public static final String PAY_NEED_CODE = "9015";
	//微信登录失败
	public static final String WX_LOGIN_FAIL = "9016";
	
	// 识别错误
	public static final String ORC_ERROR = "9100";
	
	//系统错误
	public static final String SYS_ERROR = "9999";
	
	// =================产品错误代码==================================================================
	// 产品编号为空
	public static final String PRODUCT_ID_IS_NULL = "2001";

	// 购买份额为空
	public static final String PRODUCT_BUY_SHARE_IS_NULL = "2002";

	// 购买份额必须为整数
	public static final String PRODUCT_SHARE_INT = "2003";

	// 银行卡不能为空
	public static final String PRODUCT_USER_BANK_IS_NULL = "2004";

	// 支付密码不能为空
	public static final String PRODUCT_PAY_PWD_IS_NULL = "2005";

	// 支付密码不正确
	public static final String PRODUCT_PAY_PWD_ERROR = "2006";

	// 购买失败
	public static final String PRODUCT_BUY_ERROR = "2007";

	// 产品列表显示不正确
	public static final String PRODUCT_LIST_ERROR = "2008";

	// 申请列表显示不正确
	public static final String APPLY_LIST_ERROR = "2009";

	// 借款列表显示不正确
	public static final String LOAN_LIST_ERROR = "2010";

	// 借款列表数量显示不正确
	public static final String LOAN_COUNT_ERROR = "2011";

	// 审批回复列表显示不正确
	public static final String REPLY_LIST_ERROR = "2012";

	// 创建借款订单失败
	public static final String LOAN_CREATE_ERROR = "2013";

	// 创建借款详情
	public static final String LOAN_DETIAL_ERROR = "2014";

	// 资料上传未完成
	public static final String UPLOAD_MATERILAS_ERROR = "2015";
	// 合同确认未完成
	public static final String CONFIRM_CONTRACT_ERROR = "2016";
	// 存在未完成申请
	public static final String APPLY_NOT_FINISH = "2017";
	// 申请审核中
	public static final String APPLY_IS_CHECK = "2018";
	// 资料补充
	public static final String MATERISLS_SUPPLEMENT = "2019";
	// 支付失败
	public static final String PAY_FAILED = "2020";
	// 银行卡不存在
	public static final String BANK_CARD_ISNULL = "2021";
	
	// =================绑定银行卡错误代码==================================================================
	// 绑卡失败
	public static final String BIND_CARD_FAILED = "3001";

	// 请输入短信验证码
	public static final String BIND_CARD_NOT_SEND_RANDOMCODE = "3002";

	// 发送验证码失败
	public static final String BIND_CARD_SEND_RANDOMCODE_FAILED = "3003";

	// 改身份证号已被实名
	public static final String ID_CARD_NO_IS_REGISTERED = "3004";
	
	//银行签约处理中
	public static final String BIND_CARD_PROCESSING = "3005";
	
	//绑卡的真实姓名，与cms实名认证信息不匹配
	public static final String REAL_NAME_IS_WRONG = "3006";
	
	//绑卡的卡号，与cms实名认证信息不匹配
	public static final String IDCARD_IS_WRONG = "3007";
	
	//  =================活动错误代码==================================================================
	//活动已经参与
	public static final String ACTIVITY_IS_GET = "4001";
	//不符合活动规则
	public static final String ACTIVITY_INCONFORMITY = "4002";	
	//请输入真实姓名
	public static final String ACTIVITY_REAL_NAME_ISNULL= "4003";
	//分享订单不存在
	public static final String ORDER_IS_NOT_EXIST= "4004";
	
	
	//  =================竞标错误代码==================================================================
	//竞标需求不唯一
	public static final String BID_DEMAND_NOTONE= "5001";
	//竞标失败
	public static final String BID_COMPETITIVE_ERROR= "5002";
	//标书已存在
	public static final String BID_IS_EXIST= "5003";
	//标书不存在
	public static final String BID_IS_NULL= "5004";
	//竞标金额不正确
	public static final String BID_DEMAND_AMOUNT_ERROR= "5005";
	//标书次数不足
	public static final String BID_TIMES_NOT_ENOUGH= "5006";
	//团队可接单数不足
	public static final String AGENT_TIMES_NOT_ENOUGH = "5007";
	//未审核需求或者订单
	public static final String NOT_CHECK_ORDER = "5008";
	
	
//  =================赔付错误代码==================================================================
	//赔付支付错误
	public static final String COMPENSATE_PAMENT_FAILURE= "6001";
	//赔付查询错误
	public static final String COMPENSATE_QUERY_FAILURE= "6002";
	
//  =================赔付错误代码==================================================================	
	//订单拍中支付错误
	public static final String SUCCESSRECORD_PAMENT_FAILURE="6101";
	//订单拍中查询错误
	public static final String SUCCESSRECORD_QUERY_FAILURE="6102";
	
	
	
}
